import './assets/main.css';
import 'ant-design-vue/dist/reset.css';

import { createApp } from 'vue';
import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';
import i18n from './locales/index';
import loadingDirective from './directives/loading';
// import components from './components/plugin';

const app = createApp(App);

app.directive('loading', loadingDirective);
app.use(createPinia());
app.use(router);
app.use(i18n);
// app.use(components);

app.mount('#app');
